package com.bg.framework;

import com.bg.data.GameC;
import com.bg.data.PlayerC;
import com.bg.ui.UserInputC;

public class EngineC {
	
	public GameC gameData = new GameC();
	
	public void setup() {
		
		//get number
		int usernum = UserInputC.getIntInput("How many users?");
		
		for(int i=0; i<usernum; i++) {
			
			String name = UserInputC.getStringInput("The " + i + " player's name?");
			PlayerC pl = new PlayerC();
			pl.name = name;
			pl.order = i+1;
			gameData.players.add(pl);
		}
	}
	
	public void start() {
		
	}

}
